clear,clc;
load fullevents;
eventcounter=zeros(1,38);
for i = 2:size(text,1)
    eventcounter(text{i,1})=eventcounter(text{i,1})+1;
end

x=1300:50:1750;
y=zeros(size(x));
for i=1:38
    for j=1:10
        if eventcounter(i)>=x(j) && eventcounter(i)<x(j+1)
            y(j)=y(j)+1;
        end
    end
end

bar(x,y,0.8);
axis tight;
title('events(n)');
ylabel('frequency');
miu=mean(y);
sigma=var(y);
